package com.hengtiansoft.lfy.chart.bean;

import com.google.gson.annotations.SerializedName;

import java.io.Serializable;
import java.util.List;

/**
 * Created by daiye on 2016/5/11.
 */
public class NewsEntity extends ServiceResult {
    @SerializedName("message")
    private String message;

    @SerializedName("totalPage")
    private int totalPage;

    private List<DataEntity> data;

    public void setData(List<DataEntity> data) {
        this.data = data;
    }

    public List<DataEntity> getData() {
        return data;
    }

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }

    public int getTotalPage() {
        return totalPage;
    }

    public void setTotalPage(int totalPage) {
        this.totalPage = totalPage;
    }

    public static class DataEntity implements Serializable {

        private String title;
        private String create_time;
        private String creator;
        private String had_push;
        private int id;
        private String source;
        private String s_day;
        private String pic;

        public String getPic() {
            return pic;
        }

        public void setPic(String pic) {
            this.pic = pic;
        }

        public String getHad_push() {
            return had_push;
        }

        public void setHad_push(String had_push) {
            this.had_push = had_push;
        }

        public String getCreator() {
            return creator;
        }

        public void setCreator(String creator) {
            this.creator = creator;
        }

        public String getCreate_time() {
            return create_time;
        }

        public void setCreate_time(String create_time) {
            this.create_time = create_time;
        }

        public String getS_day() {
            return s_day;
        }

        public void setS_day(String s_day) {
            this.s_day = s_day;
        }

        public int getId() {
            return id;
        }

        public void setId(int id) {
            this.id = id;
        }

        public void setTitle(String title) {
            this.title = title;
        }

        public void setSource(String source) {
            this.source = source;
        }

        public String getTitle() {
            return title;
        }

        public String getSource() {
            return source;
        }
    }

}
